package com.lzy.crm.dao;


import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.lzy.crm.base.mybatis.BaseMapper;
import com.lzy.crm.base.page.PageQuery;
import com.lzy.crm.dao.criteria.OrderCriteria;
import com.lzy.crm.domain.Order;
import com.lzy.crm.vo.OrderStatVo;

/**
 * 分润
 * @author csp
 *
 */
public interface OrderMapper extends BaseMapper<Order, OrderCriteria>{

	/**
	 * 
	 * @param gameId
	 * @param startTime
	 * @param endTime
	 * @return
	 */
	public List<Order> getOrderInfoList(@Param("gameId")String gameId,@Param("status")String status,
			@Param("startTime")String startTime,@Param("endTime")String endTime,@Param("pageQuery")PageQuery pageQuery);
	
	/**
	 * 
	 * @param gameId
	 * @param startTime
	 * @param endTime
	 * @return
	 */
	public OrderStatVo getOrderStatVo(@Param("gameId")String gameId,@Param("status")String status,
			@Param("startTime")String startTime,@Param("endTime")String endTime);
	
	
	
}
